<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>UserList</title>
    <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
</head>

<body>
    <script>
        $(document).ready(function () {
            $.ajax('http://localhost:3000/users/data/5acc140b8b306c2f31825457', {
                type: 'delete'
            }).done(function (res) {
                console.log(res);
            })
        })
    </script>
</body>

</html>